package com.sykj.controller;

import com.sykj.bis.User;
import com.sykj.utils.ResponseResult;
import com.sykj.utils.ResultCode;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.validation.Valid;

/**
 * @ClassName UserController
 * @Description TODO
 * Author JiangPengCheng
 * Date 2020/7/17 14:46
 **/
@RestController
@RequestMapping("/user")
public class UserController {

    @RequestMapping("/aaa")
    public ResponseResult aa(@Valid User user){
        return  new ResponseResult(ResultCode.SUCCESS,null);
    }
}
